package cn.kgc.mapper;


import cn.kgc.entity.Xqz;
import cn.kgc.vo.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface XqzMapper {
    public List<Xqz> getAllXqz(Page page);
    public Xqz getXqzById(Integer id);
    public void addXqz(Xqz xqz);
    public void updateXqz(Xqz xqz);
    public void deleteXqzById(Integer id);

    public Integer countXqzByName(String name);

    public Integer countXqz();
}
